package com.fenqile.pop.api.demo;

import com.alibaba.fastjson.JSONObject;

/**
 * @author yaphyao
 * @version 2018/3/8
 * @see com.fenqile.pop.util.demo.api
 */
public class ThirdOrderCreateTest extends ApiTest {
    private String method = "fenqile.third.order.create";

    public void run() {
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("method", method);
        jsonObject.put("sku_id", "MES201802041655078");
        jsonObject.put("third_uid", "ffd22dbed9bc8f639394ecdfb341935525e5576d");
        jsonObject.put("amount", "123.21");
        jsonObject.put("third_order_id", "third_order_id");
        jsonObject.put("create_time", "2018-03-01 10:11:50");
        jsonObject.put("subject", "postMan 测试");
        String response = post(jsonObject);
        response.toCharArray();
    }


    public static void main(String[] args) {
        ThirdOrderCreateTest createTest = new ThirdOrderCreateTest();
        createTest.run();
    }


}
